package com.example.rental.service;
import com.example.rental.entity.Houseinfo;
import com.example.rental.entity.Oder;
import com.example.rental.entity.dto.HouseDto;
import com.example.rental.result.Result;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface HouseService {

    public Result list(HouseDto houseDto);
    public void addHouse(Houseinfo house);
    public void updateHouse(Houseinfo house);
    public void deleteHouseid(Houseinfo house);
    public List<Integer> searchHouseByHouseid(Integer houseid);
    public void updateHouseByHouseid(Integer houseid);
    public void updateAllHouse(Oder oder);


}
